package com.ict.web.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;


@Data
public class QueryOrganizationManagementDto {

  @ApiModelProperty(value = "机构名称")
  private String organizationName;

  @ApiModelProperty(value = "机构类型")
  private String organizationType;

  @ApiModelProperty(value = "创建时间")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern =  "yyyy-MM-dd HH:mm",timezone = "GMT+8")
  private Date createTime;

  /** 请求参数 */
  private Map<String, Object> params;
  public Map<String, Object> getParams()
  {
    if (params == null)
    {
      params = new HashMap<>();
    }
    return params;
  }

  public void setParams(Map<String, Object> params)
  {
    this.params = params;
  }
}
